package com.tllq.zhongkang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tllq.zhongkang.entity.MemCard;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MemCardMapper extends BaseMapper<MemCard> {
    /**
     *
     * @param nextId
     * @return
     */
    public List<MemCard> findByNextId(@Param("nextId") Integer nextId);

    /**
     * 通过更新时间查询
     * @param startTime
     * @param endTime
     * @return
     */
    public List<MemCard> findByTime(@Param("startTime") String startTime, @Param("endTime") String endTime);
}
